<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FabGL: keyboard.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">FabGL
   </div>
   <div id="projectbrief">ESP32 Display Controller and Graphics Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('keyboard_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">keyboard.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="keyboard_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">  Created by Fabrizio Di Vittorio (fdivitto2013@gmail.com) - &lt;http://www.fabgl.com&gt;</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">  Copyright (c) 2019-2020 Fabrizio Di Vittorio.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">  All rights reserved.</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">  This file is part of FabGL Library.</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">  FabGL is free software: you can redistribute it and/or modify</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">  it under the terms of the GNU General Public License as published by</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">  the Free Software Foundation, either version 3 of the License, or</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">  (at your option) any later version.</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">  FabGL is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">  but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">  GNU General Public License for more details.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">  You should have received a copy of the GNU General Public License</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">  along with FabGL.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &quot;freertos/FreeRTOS.h&quot;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="fabglconf_8h.html">fabglconf.h</a>&quot;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ps2device_8h.html">comdrivers/ps2device.h</a>&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="fabui_8h.html">fabui.h</a>&quot;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacefabgl.html">fabgl</a> {</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structfabgl_1_1_virtual_key_def.html">   49</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfabgl_1_1_virtual_key_def.html">VirtualKeyDef</a> {</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structfabgl_1_1_virtual_key_def_aa1de7a5557e9d96b83cf03f73c92163f.html#aa1de7a5557e9d96b83cf03f73c92163f">   50</a></span>&#160;  uint8_t      <a class="code" href="structfabgl_1_1_virtual_key_def_aa1de7a5557e9d96b83cf03f73c92163f.html#aa1de7a5557e9d96b83cf03f73c92163f">scancode</a>;    </div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structfabgl_1_1_virtual_key_def_a9a49d6e8115ca008d08edd19819118e8.html#a9a49d6e8115ca008d08edd19819118e8">   51</a></span>&#160;  <a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a>   <a class="code" href="structfabgl_1_1_virtual_key_def_a9a49d6e8115ca008d08edd19819118e8.html#a9a49d6e8115ca008d08edd19819118e8">virtualKey</a>;  </div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;};</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structfabgl_1_1_alt_virtual_key_def.html">   58</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfabgl_1_1_alt_virtual_key_def.html">AltVirtualKeyDef</a> {</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structfabgl_1_1_alt_virtual_key_def_a1a08ee11c9ad32b8cd9edbcf2591f622.html#a1a08ee11c9ad32b8cd9edbcf2591f622">   59</a></span>&#160;  <a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a> <a class="code" href="structfabgl_1_1_alt_virtual_key_def_a1a08ee11c9ad32b8cd9edbcf2591f622.html#a1a08ee11c9ad32b8cd9edbcf2591f622">reqVirtualKey</a>; </div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  <span class="keyword">struct </span>{</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structfabgl_1_1_alt_virtual_key_def_a4c56f2979393f841cffb950a90315e82.html#a4c56f2979393f841cffb950a90315e82">   61</a></span>&#160;    uint8_t <a class="code" href="structfabgl_1_1_alt_virtual_key_def_a4c56f2979393f841cffb950a90315e82.html#a4c56f2979393f841cffb950a90315e82">ctrl</a>     : 1;   </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structfabgl_1_1_alt_virtual_key_def_a187098745ba3ac9dec616db7873d32cc.html#a187098745ba3ac9dec616db7873d32cc">   62</a></span>&#160;    uint8_t <a class="code" href="structfabgl_1_1_alt_virtual_key_def_a187098745ba3ac9dec616db7873d32cc.html#a187098745ba3ac9dec616db7873d32cc">alt</a>      : 1;   </div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structfabgl_1_1_alt_virtual_key_def_a28ac534ad4b71a6f265826746888e43e.html#a28ac534ad4b71a6f265826746888e43e">   63</a></span>&#160;    uint8_t <a class="code" href="structfabgl_1_1_alt_virtual_key_def_a28ac534ad4b71a6f265826746888e43e.html#a28ac534ad4b71a6f265826746888e43e">shift</a>    : 1;   </div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structfabgl_1_1_alt_virtual_key_def_a10806c92d8876196db7e0f1899dd1bb6.html#a10806c92d8876196db7e0f1899dd1bb6">   64</a></span>&#160;    uint8_t <a class="code" href="structfabgl_1_1_alt_virtual_key_def_a10806c92d8876196db7e0f1899dd1bb6.html#a10806c92d8876196db7e0f1899dd1bb6">capslock</a> : 1;   </div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structfabgl_1_1_alt_virtual_key_def_a74b159be2574aac5de9359c74b60c934.html#a74b159be2574aac5de9359c74b60c934">   65</a></span>&#160;    uint8_t <a class="code" href="structfabgl_1_1_alt_virtual_key_def_a74b159be2574aac5de9359c74b60c934.html#a74b159be2574aac5de9359c74b60c934">numlock</a>  : 1;   </div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;  };</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structfabgl_1_1_alt_virtual_key_def_a9a49d6e8115ca008d08edd19819118e8.html#a9a49d6e8115ca008d08edd19819118e8">   67</a></span>&#160;  <a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a> <a class="code" href="structfabgl_1_1_alt_virtual_key_def_a9a49d6e8115ca008d08edd19819118e8.html#a9a49d6e8115ca008d08edd19819118e8">virtualKey</a>;    </div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;};</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="keyword">struct </span>DeadKeyVirtualKeyDef {  </div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;  <a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a>   deadKey;         </div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  <a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a>   reqVirtualKey;   </div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a>   virtualKey;      </div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;};</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structfabgl_1_1_keyboard_layout.html">   79</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structfabgl_1_1_keyboard_layout.html">KeyboardLayout</a> {</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="structfabgl_1_1_keyboard_layout_a8f8f80d37794cde9472343e4487ba3eb.html#a8f8f80d37794cde9472343e4487ba3eb">   80</a></span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span> *             <a class="code" href="structfabgl_1_1_keyboard_layout_a8f8f80d37794cde9472343e4487ba3eb.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>;                </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="structfabgl_1_1_keyboard_layout_a710bce51374aba96ab04912897666c35.html#a710bce51374aba96ab04912897666c35">   81</a></span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span> *             <a class="code" href="structfabgl_1_1_keyboard_layout_a710bce51374aba96ab04912897666c35.html#a710bce51374aba96ab04912897666c35">desc</a>;                </div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="structfabgl_1_1_keyboard_layout_afdd0381a636e103e33501ce7d38181e2.html#afdd0381a636e103e33501ce7d38181e2">   82</a></span>&#160;  <a class="code" href="structfabgl_1_1_keyboard_layout.html">KeyboardLayout</a> <span class="keyword">const</span> *   <a class="code" href="structfabgl_1_1_keyboard_layout_afdd0381a636e103e33501ce7d38181e2.html#afdd0381a636e103e33501ce7d38181e2">inherited</a>;           </div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structfabgl_1_1_keyboard_layout_aa8473d36fb783abeab5c0ba240804ff8.html#aa8473d36fb783abeab5c0ba240804ff8">   83</a></span>&#160;  <a class="code" href="structfabgl_1_1_virtual_key_def.html">VirtualKeyDef</a>            <a class="code" href="structfabgl_1_1_keyboard_layout_aa8473d36fb783abeab5c0ba240804ff8.html#aa8473d36fb783abeab5c0ba240804ff8">scancodeToVK</a>[92];    </div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structfabgl_1_1_keyboard_layout_a8d11284e5ee0af6381085b85121d8235.html#a8d11284e5ee0af6381085b85121d8235">   84</a></span>&#160;  <a class="code" href="structfabgl_1_1_virtual_key_def.html">VirtualKeyDef</a>            <a class="code" href="structfabgl_1_1_keyboard_layout_a8d11284e5ee0af6381085b85121d8235.html#a8d11284e5ee0af6381085b85121d8235">exScancodeToVK</a>[32];  </div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structfabgl_1_1_keyboard_layout_a7b4eb75aeddcbe8f35931c2e7a558e94.html#a7b4eb75aeddcbe8f35931c2e7a558e94">   85</a></span>&#160;  <a class="code" href="structfabgl_1_1_alt_virtual_key_def.html">AltVirtualKeyDef</a>         <a class="code" href="structfabgl_1_1_keyboard_layout_a7b4eb75aeddcbe8f35931c2e7a558e94.html#a7b4eb75aeddcbe8f35931c2e7a558e94">alternateVK</a>[64];     </div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structfabgl_1_1_keyboard_layout_ad0d829bcf251d4905509f2bd5001c770.html#ad0d829bcf251d4905509f2bd5001c770">   87</a></span>&#160;  <a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a>               <a class="code" href="structfabgl_1_1_keyboard_layout_ad0d829bcf251d4905509f2bd5001c770.html#ad0d829bcf251d4905509f2bd5001c770">deadKeysVK</a>[8];       </div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="structfabgl_1_1_keyboard_layout_a0ede61cf5f83095ea3ec5acacc39e183.html#a0ede61cf5f83095ea3ec5acacc39e183">   88</a></span>&#160;  DeadKeyVirtualKeyDef     <a class="code" href="structfabgl_1_1_keyboard_layout_a0ede61cf5f83095ea3ec5acacc39e183.html#a0ede61cf5f83095ea3ec5acacc39e183">deadkeysToVK</a>[64];    </div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;};</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <a class="code" href="structfabgl_1_1_keyboard_layout.html">KeyboardLayout</a> USLayout;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <a class="code" href="structfabgl_1_1_keyboard_layout.html">KeyboardLayout</a> UKLayout;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <a class="code" href="structfabgl_1_1_keyboard_layout.html">KeyboardLayout</a> GermanLayout;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <a class="code" href="structfabgl_1_1_keyboard_layout.html">KeyboardLayout</a> ItalianLayout;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <a class="code" href="structfabgl_1_1_keyboard_layout.html">KeyboardLayout</a> SpanishLayout;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="keyword">struct </span>SupportedLayouts {</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">int</span> count()               { <span class="keywordflow">return</span> 5; }</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">char</span> <span class="keyword">const</span> * * names() {</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">char</span> <span class="keyword">const</span> * NAMES[] =  {</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        GermanLayout.<a class="code" href="structfabgl_1_1_keyboard_layout_a710bce51374aba96ab04912897666c35.html#a710bce51374aba96ab04912897666c35">desc</a>,</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        ItalianLayout.<a class="code" href="structfabgl_1_1_keyboard_layout_a710bce51374aba96ab04912897666c35.html#a710bce51374aba96ab04912897666c35">desc</a>,</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        UKLayout.<a class="code" href="structfabgl_1_1_keyboard_layout_a710bce51374aba96ab04912897666c35.html#a710bce51374aba96ab04912897666c35">desc</a>,</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        USLayout.<a class="code" href="structfabgl_1_1_keyboard_layout_a710bce51374aba96ab04912897666c35.html#a710bce51374aba96ab04912897666c35">desc</a>,</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        SpanishLayout.<a class="code" href="structfabgl_1_1_keyboard_layout_a710bce51374aba96ab04912897666c35.html#a710bce51374aba96ab04912897666c35">desc</a> };</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="keywordflow">return</span> NAMES;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;  }</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">char</span> <span class="keyword">const</span> * * shortNames() {</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">char</span> <span class="keyword">const</span> * SNAMES[] = {</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;        GermanLayout.<a class="code" href="structfabgl_1_1_keyboard_layout_a8f8f80d37794cde9472343e4487ba3eb.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>,</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;        ItalianLayout.<a class="code" href="structfabgl_1_1_keyboard_layout_a8f8f80d37794cde9472343e4487ba3eb.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>,</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        UKLayout.<a class="code" href="structfabgl_1_1_keyboard_layout_a8f8f80d37794cde9472343e4487ba3eb.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>,</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        USLayout.<a class="code" href="structfabgl_1_1_keyboard_layout_a8f8f80d37794cde9472343e4487ba3eb.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>,</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        SpanishLayout.<a class="code" href="structfabgl_1_1_keyboard_layout_a8f8f80d37794cde9472343e4487ba3eb.html#a8f8f80d37794cde9472343e4487ba3eb">name</a> };</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <span class="keywordflow">return</span> SNAMES;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;  }</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> KeyboardLayout * * layouts() {</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="keyword">static</span> KeyboardLayout <span class="keyword">const</span> * LAYOUTS[] = {</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        &amp;GermanLayout,</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        &amp;ItalianLayout,</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        &amp;UKLayout,</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        &amp;USLayout,</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        &amp;SpanishLayout };</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="keywordflow">return</span> LAYOUTS;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;  }</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;};</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classfabgl_1_1_keyboard.html">  166</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfabgl_1_1_keyboard.html">Keyboard</a> : <span class="keyword">public</span> <a class="code" href="classfabgl_1_1_p_s2_device.html">PS2Device</a> {</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;  <a class="code" href="classfabgl_1_1_keyboard.html">Keyboard</a>();</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfabgl_1_1_keyboard_a4f1c6a36aae1c88e57c6bc7e05c772d1.html#a4f1c6a36aae1c88e57c6bc7e05c772d1">begin</a>(gpio_num_t clkGPIO, gpio_num_t dataGPIO, <span class="keywordtype">bool</span> generateVirtualKeys = <span class="keyword">true</span>, <span class="keywordtype">bool</span> createVKQueue = <span class="keyword">true</span>);</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfabgl_1_1_keyboard_a4f1c6a36aae1c88e57c6bc7e05c772d1.html#a4f1c6a36aae1c88e57c6bc7e05c772d1">begin</a>(<span class="keywordtype">bool</span> generateVirtualKeys, <span class="keywordtype">bool</span> createVKQueue, <span class="keywordtype">int</span> PS2Port);</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="classfabgl_1_1_keyboard_a823914d949a5510b933dcfb335e36ab1.html#a823914d949a5510b933dcfb335e36ab1">  224</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfabgl_1_1_keyboard_a823914d949a5510b933dcfb335e36ab1.html#a823914d949a5510b933dcfb335e36ab1">setUIApp</a>(<a class="code" href="classfabgl_1_1ui_app.html">uiApp</a> * app) { m_uiApp = app; }</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classfabgl_1_1_keyboard_a50910ef42a65d4c139af341f1ef2323f.html#a50910ef42a65d4c139af341f1ef2323f">reset</a>();</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classfabgl_1_1_keyboard_aef1dd1399d92a09d1ed115911b563688.html#aef1dd1399d92a09d1ed115911b563688">  240</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classfabgl_1_1_keyboard_aef1dd1399d92a09d1ed115911b563688.html#aef1dd1399d92a09d1ed115911b563688">isKeyboardAvailable</a>() { <span class="keywordflow">return</span> m_keyboardAvailable; }</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfabgl_1_1_keyboard_aca97a7179d5358ec795485e15618b243.html#aca97a7179d5358ec795485e15618b243">setLayout</a>(<a class="code" href="structfabgl_1_1_keyboard_layout.html">KeyboardLayout</a> <span class="keyword">const</span> * layout);</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;</div><div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="classfabgl_1_1_keyboard_a164361d7dc1597cd75db35c06d87e7d6.html#a164361d7dc1597cd75db35c06d87e7d6">  263</a></span>&#160;  <a class="code" href="structfabgl_1_1_keyboard_layout.html">KeyboardLayout</a> <span class="keyword">const</span> * <a class="code" href="classfabgl_1_1_keyboard_a164361d7dc1597cd75db35c06d87e7d6.html#a164361d7dc1597cd75db35c06d87e7d6">getLayout</a>() { <span class="keywordflow">return</span> m_layout; }</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classfabgl_1_1_keyboard_ad64abdda7b0ab92e15e23c602571e851.html#ad64abdda7b0ab92e15e23c602571e851">isVKDown</a>(<a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a> virtualKey);</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classfabgl_1_1_keyboard_a1da2800c551ac4fa0fe2f61915a8a2da.html#a1da2800c551ac4fa0fe2f61915a8a2da">virtualKeyAvailable</a>();</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;  <a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a> <a class="code" href="classfabgl_1_1_keyboard_a0de31f752f76a296060bc792b51e50ba.html#a0de31f752f76a296060bc792b51e50ba">getNextVirtualKey</a>(<span class="keywordtype">bool</span> * keyDown = <span class="keyword">nullptr</span>, <span class="keywordtype">int</span> timeOutMS = -1);</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfabgl_1_1_keyboard_a43ee85b9025f15c6edeb7ec670ca535b.html#a43ee85b9025f15c6edeb7ec670ca535b">injectVirtualKey</a>(<a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a> virtualKey, <span class="keywordtype">bool</span> keyDown, <span class="keywordtype">bool</span> insert = <span class="keyword">false</span>);</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfabgl_1_1_keyboard_aefe8cfbbb777abf28e87a1caf05da5e8.html#aefe8cfbbb777abf28e87a1caf05da5e8">emptyVirtualKeyQueue</a>();</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classfabgl_1_1_keyboard_aa360795d47499669a2b42cc6a6d3ff7b.html#aa360795d47499669a2b42cc6a6d3ff7b">virtualKeyToASCII</a>(<a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a> virtualKey);</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classfabgl_1_1_keyboard_a55976327987b5fa4942532e400d7480c.html#a55976327987b5fa4942532e400d7480c">scancodeAvailable</a>();</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classfabgl_1_1_keyboard_ad95b6b1928e6bd2cb5b5e3fb8be11f52.html#ad95b6b1928e6bd2cb5b5e3fb8be11f52">getNextScancode</a>(<span class="keywordtype">int</span> timeOutMS = -1, <span class="keywordtype">bool</span> requestResendOnTimeOut = <span class="keyword">false</span>);</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfabgl_1_1_keyboard_a72e1fc9daf51d9d8057698ff3aaf5656.html#a72e1fc9daf51d9d8057698ff3aaf5656">suspendVirtualKeyGeneration</a>(<span class="keywordtype">bool</span> value);</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;</div><div class="line"><a name="l00375"></a><span class="lineno"><a class="line" href="classfabgl_1_1_keyboard_a99a84478b09fbb13863c3ec64f7ca872.html#a99a84478b09fbb13863c3ec64f7ca872">  375</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classfabgl_1_1_keyboard_a99a84478b09fbb13863c3ec64f7ca872.html#a99a84478b09fbb13863c3ec64f7ca872">setLEDs</a>(<span class="keywordtype">bool</span> numLock, <span class="keywordtype">bool</span> capsLock, <span class="keywordtype">bool</span> scrollLock) { <span class="keywordflow">return</span> send_cmdLEDs(numLock, capsLock, scrollLock); }</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfabgl_1_1_keyboard_abda5b9383751f677dd50359f5d5e6767.html#abda5b9383751f677dd50359f5d5e6767">getLEDs</a>(<span class="keywordtype">bool</span> * numLock, <span class="keywordtype">bool</span> * capsLock, <span class="keywordtype">bool</span> * scrollLock);</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;</div><div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="classfabgl_1_1_keyboard_af2f021a81df654389e62860afdb8f1de.html#af2f021a81df654389e62860afdb8f1de">  398</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classfabgl_1_1_keyboard_af2f021a81df654389e62860afdb8f1de.html#af2f021a81df654389e62860afdb8f1de">setTypematicRateAndDelay</a>(<span class="keywordtype">int</span> repeatRateMS, <span class="keywordtype">int</span> repeatDelayMS) { <span class="keywordflow">return</span> send_cmdTypematicRateAndDelay(repeatRateMS, repeatDelayMS); }</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;<span class="preprocessor">#if FABGLIB_HAS_VirtualKeyO_STRING</span></div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">char</span> <span class="keyword">const</span> * virtualKeyToString(<a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a> virtualKey);</div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;</div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;</div><div class="line"><a name="l00413"></a><span class="lineno"><a class="line" href="classfabgl_1_1_keyboard_a41c6325db16da56b81f05e8d9dcabd0e.html#a41c6325db16da56b81f05e8d9dcabd0e">  413</a></span>&#160;  Delegate&lt;VirtualKey *, bool&gt; <a class="code" href="classfabgl_1_1_keyboard_a41c6325db16da56b81f05e8d9dcabd0e.html#a41c6325db16da56b81f05e8d9dcabd0e">onVirtualKey</a>;</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;</div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;</div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;</div><div class="line"><a name="l00426"></a><span class="lineno"><a class="line" href="classfabgl_1_1_keyboard_a298b50557e15073b8bca4773f118f1dc.html#a298b50557e15073b8bca4773f118f1dc">  426</a></span>&#160;  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="classfabgl_1_1_keyboard_a298b50557e15073b8bca4773f118f1dc.html#a298b50557e15073b8bca4773f118f1dc">scancodeToVirtualKeyTaskStackSize</a>;</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;  <a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a> scancodeToVK(uint8_t scancode, <span class="keywordtype">bool</span> isExtended, <a class="code" href="structfabgl_1_1_keyboard_layout.html">KeyboardLayout</a> <span class="keyword">const</span> * layout = <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;  <a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a> VKtoAlternateVK(<a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a> in_vk, <a class="code" href="structfabgl_1_1_keyboard_layout.html">KeyboardLayout</a> <span class="keyword">const</span> * layout = <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;  <span class="keywordtype">void</span> updateLEDs();</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;  <a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a> blockingGetVirtualKey(<span class="keywordtype">bool</span> * keyDown);</div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">void</span> SCodeToVKConverterTask(<span class="keywordtype">void</span> * pvParameters);</div><div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;</div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;</div><div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;  <span class="keywordtype">bool</span>                      m_keyboardAvailable;  <span class="comment">// self test passed and support for scancode set 2</span></div><div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;</div><div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;  <span class="comment">// these are valid after a call to generateVirtualKeys(true)</span></div><div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;  TaskHandle_t              m_SCodeToVKConverterTask; <span class="comment">// Task that converts scancodes to virtual key and populates m_virtualKeyQueue</span></div><div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;  QueueHandle_t             m_virtualKeyQueue;</div><div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;</div><div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;  uint8_t                   m_VKMap[(int)(VK_LAST + 7) / 8];</div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;</div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;  <a class="code" href="structfabgl_1_1_keyboard_layout.html">KeyboardLayout</a> <span class="keyword">const</span> *    m_layout;</div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;  <a class="code" href="classfabgl_1_1ui_app.html">uiApp</a> *                   m_uiApp;</div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;</div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;  <span class="keywordtype">bool</span>                      m_CTRL;</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;  <span class="keywordtype">bool</span>                      m_ALT;</div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;  <span class="keywordtype">bool</span>                      m_SHIFT;</div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;  <span class="keywordtype">bool</span>                      m_CAPSLOCK;</div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;  <span class="keywordtype">bool</span>                      m_NUMLOCK;</div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;  <span class="keywordtype">bool</span>                      m_SCROLLLOCK;</div><div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;</div><div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;  <a class="code" href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">VirtualKey</a>                m_lastDeadKey;</div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;</div><div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;  <span class="comment">// store status of the three LEDs</span></div><div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;  <span class="keywordtype">bool</span>                      m_numLockLED;</div><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;  <span class="keywordtype">bool</span>                      m_capsLockLED;</div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;  <span class="keywordtype">bool</span>                      m_scrollLockLED;</div><div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;};</div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;</div><div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;</div><div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;</div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;</div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;} <span class="comment">// end of namespace</span></div><div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;</div><div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;</div><div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;</div><div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;</div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;</div><div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;</div><div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;</div><div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;</div><div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;</div><div class="ttc" id="classfabgl_1_1_keyboard_a43ee85b9025f15c6edeb7ec670ca535b_html_a43ee85b9025f15c6edeb7ec670ca535b"><div class="ttname"><a href="classfabgl_1_1_keyboard_a43ee85b9025f15c6edeb7ec670ca535b.html#a43ee85b9025f15c6edeb7ec670ca535b">fabgl::Keyboard::injectVirtualKey</a></div><div class="ttdeci">void injectVirtualKey(VirtualKey virtualKey, bool keyDown, bool insert=false)</div><div class="ttdoc">Adds or inserts a virtual key into the virtual keys queue. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8cpp_source.html#l01203">keyboard.cpp:1203</a></div></div>
<div class="ttc" id="structfabgl_1_1_keyboard_layout_html"><div class="ttname"><a href="structfabgl_1_1_keyboard_layout.html">fabgl::KeyboardLayout</a></div><div class="ttdoc">All in one structure to fully represent a keyboard layout. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00079">keyboard.h:79</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_aef1dd1399d92a09d1ed115911b563688_html_aef1dd1399d92a09d1ed115911b563688"><div class="ttname"><a href="classfabgl_1_1_keyboard_aef1dd1399d92a09d1ed115911b563688.html#aef1dd1399d92a09d1ed115911b563688">fabgl::Keyboard::isKeyboardAvailable</a></div><div class="ttdeci">bool isKeyboardAvailable()</div><div class="ttdoc">Checks if keyboard has been detected and correctly initialized. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00240">keyboard.h:240</a></div></div>
<div class="ttc" id="classfabgl_1_1ui_app_html"><div class="ttname"><a href="classfabgl_1_1ui_app.html">fabgl::uiApp</a></div><div class="ttdoc">Represents the whole application base class. </div><div class="ttdef"><b>Definition:</b> <a href="fabui_8h_source.html#l02561">fabui.h:2561</a></div></div>
<div class="ttc" id="structfabgl_1_1_keyboard_layout_a0ede61cf5f83095ea3ec5acacc39e183_html_a0ede61cf5f83095ea3ec5acacc39e183"><div class="ttname"><a href="structfabgl_1_1_keyboard_layout_a0ede61cf5f83095ea3ec5acacc39e183.html#a0ede61cf5f83095ea3ec5acacc39e183">fabgl::KeyboardLayout::deadkeysToVK</a></div><div class="ttdeci">DeadKeyVirtualKeyDef deadkeysToVK[64]</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00088">keyboard.h:88</a></div></div>
<div class="ttc" id="fabui_8h_html"><div class="ttname"><a href="fabui_8h.html">fabui.h</a></div><div class="ttdoc">This file contains all classes related to FabGL Graphical User Interface. </div></div>
<div class="ttc" id="structfabgl_1_1_keyboard_layout_ad0d829bcf251d4905509f2bd5001c770_html_ad0d829bcf251d4905509f2bd5001c770"><div class="ttname"><a href="structfabgl_1_1_keyboard_layout_ad0d829bcf251d4905509f2bd5001c770.html#ad0d829bcf251d4905509f2bd5001c770">fabgl::KeyboardLayout::deadKeysVK</a></div><div class="ttdeci">VirtualKey deadKeysVK[8]</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00087">keyboard.h:87</a></div></div>
<div class="ttc" id="structfabgl_1_1_keyboard_layout_a8d11284e5ee0af6381085b85121d8235_html_a8d11284e5ee0af6381085b85121d8235"><div class="ttname"><a href="structfabgl_1_1_keyboard_layout_a8d11284e5ee0af6381085b85121d8235.html#a8d11284e5ee0af6381085b85121d8235">fabgl::KeyboardLayout::exScancodeToVK</a></div><div class="ttdeci">VirtualKeyDef exScancodeToVK[32]</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00084">keyboard.h:84</a></div></div>
<div class="ttc" id="structfabgl_1_1_virtual_key_def_a9a49d6e8115ca008d08edd19819118e8_html_a9a49d6e8115ca008d08edd19819118e8"><div class="ttname"><a href="structfabgl_1_1_virtual_key_def_a9a49d6e8115ca008d08edd19819118e8.html#a9a49d6e8115ca008d08edd19819118e8">fabgl::VirtualKeyDef::virtualKey</a></div><div class="ttdeci">VirtualKey virtualKey</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00051">keyboard.h:51</a></div></div>
<div class="ttc" id="structfabgl_1_1_alt_virtual_key_def_a9a49d6e8115ca008d08edd19819118e8_html_a9a49d6e8115ca008d08edd19819118e8"><div class="ttname"><a href="structfabgl_1_1_alt_virtual_key_def_a9a49d6e8115ca008d08edd19819118e8.html#a9a49d6e8115ca008d08edd19819118e8">fabgl::AltVirtualKeyDef::virtualKey</a></div><div class="ttdeci">VirtualKey virtualKey</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00067">keyboard.h:67</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_aa360795d47499669a2b42cc6a6d3ff7b_html_aa360795d47499669a2b42cc6a6d3ff7b"><div class="ttname"><a href="classfabgl_1_1_keyboard_aa360795d47499669a2b42cc6a6d3ff7b.html#aa360795d47499669a2b42cc6a6d3ff7b">fabgl::Keyboard::virtualKeyToASCII</a></div><div class="ttdeci">int virtualKeyToASCII(VirtualKey virtualKey)</div><div class="ttdoc">Converts virtual key to ASCII. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8cpp_source.html#l00738">keyboard.cpp:738</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_a823914d949a5510b933dcfb335e36ab1_html_a823914d949a5510b933dcfb335e36ab1"><div class="ttname"><a href="classfabgl_1_1_keyboard_a823914d949a5510b933dcfb335e36ab1.html#a823914d949a5510b933dcfb335e36ab1">fabgl::Keyboard::setUIApp</a></div><div class="ttdeci">void setUIApp(uiApp *app)</div><div class="ttdoc">Sets current UI app. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00224">keyboard.h:224</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_aefe8cfbbb777abf28e87a1caf05da5e8_html_aefe8cfbbb777abf28e87a1caf05da5e8"><div class="ttname"><a href="classfabgl_1_1_keyboard_aefe8cfbbb777abf28e87a1caf05da5e8.html#aefe8cfbbb777abf28e87a1caf05da5e8">fabgl::Keyboard::emptyVirtualKeyQueue</a></div><div class="ttdeci">void emptyVirtualKeyQueue()</div><div class="ttdoc">Empties the virtual keys queue. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8cpp_source.html#l01296">keyboard.cpp:1296</a></div></div>
<div class="ttc" id="structfabgl_1_1_alt_virtual_key_def_a28ac534ad4b71a6f265826746888e43e_html_a28ac534ad4b71a6f265826746888e43e"><div class="ttname"><a href="structfabgl_1_1_alt_virtual_key_def_a28ac534ad4b71a6f265826746888e43e.html#a28ac534ad4b71a6f265826746888e43e">fabgl::AltVirtualKeyDef::shift</a></div><div class="ttdeci">uint8_t shift</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00063">keyboard.h:63</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_a41c6325db16da56b81f05e8d9dcabd0e_html_a41c6325db16da56b81f05e8d9dcabd0e"><div class="ttname"><a href="classfabgl_1_1_keyboard_a41c6325db16da56b81f05e8d9dcabd0e.html#a41c6325db16da56b81f05e8d9dcabd0e">fabgl::Keyboard::onVirtualKey</a></div><div class="ttdeci">Delegate&lt; VirtualKey *, bool &gt; onVirtualKey</div><div class="ttdoc">Delegate called whenever a new virtual key is decoded from scancodes. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00413">keyboard.h:413</a></div></div>
<div class="ttc" id="structfabgl_1_1_keyboard_layout_a7b4eb75aeddcbe8f35931c2e7a558e94_html_a7b4eb75aeddcbe8f35931c2e7a558e94"><div class="ttname"><a href="structfabgl_1_1_keyboard_layout_a7b4eb75aeddcbe8f35931c2e7a558e94.html#a7b4eb75aeddcbe8f35931c2e7a558e94">fabgl::KeyboardLayout::alternateVK</a></div><div class="ttdeci">AltVirtualKeyDef alternateVK[64]</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00085">keyboard.h:85</a></div></div>
<div class="ttc" id="structfabgl_1_1_keyboard_layout_a710bce51374aba96ab04912897666c35_html_a710bce51374aba96ab04912897666c35"><div class="ttname"><a href="structfabgl_1_1_keyboard_layout_a710bce51374aba96ab04912897666c35.html#a710bce51374aba96ab04912897666c35">fabgl::KeyboardLayout::desc</a></div><div class="ttdeci">const char * desc</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00081">keyboard.h:81</a></div></div>
<div class="ttc" id="structfabgl_1_1_keyboard_layout_a8f8f80d37794cde9472343e4487ba3eb_html_a8f8f80d37794cde9472343e4487ba3eb"><div class="ttname"><a href="structfabgl_1_1_keyboard_layout_a8f8f80d37794cde9472343e4487ba3eb.html#a8f8f80d37794cde9472343e4487ba3eb">fabgl::KeyboardLayout::name</a></div><div class="ttdeci">const char * name</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00080">keyboard.h:80</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_abda5b9383751f677dd50359f5d5e6767_html_abda5b9383751f677dd50359f5d5e6767"><div class="ttname"><a href="classfabgl_1_1_keyboard_abda5b9383751f677dd50359f5d5e6767.html#abda5b9383751f677dd50359f5d5e6767">fabgl::Keyboard::getLEDs</a></div><div class="ttdeci">void getLEDs(bool *numLock, bool *capsLock, bool *scrollLock)</div><div class="ttdoc">Gets keyboard LEDs status. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8cpp_source.html#l00670">keyboard.cpp:670</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_ad64abdda7b0ab92e15e23c602571e851_html_ad64abdda7b0ab92e15e23c602571e851"><div class="ttname"><a href="classfabgl_1_1_keyboard_ad64abdda7b0ab92e15e23c602571e851.html#ad64abdda7b0ab92e15e23c602571e851">fabgl::Keyboard::isVKDown</a></div><div class="ttdeci">bool isVKDown(VirtualKey virtualKey)</div><div class="ttdoc">Gets the virtual keys status. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8cpp_source.html#l01263">keyboard.cpp:1263</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_html"><div class="ttname"><a href="classfabgl_1_1_keyboard.html">fabgl::Keyboard</a></div><div class="ttdoc">The PS2 Keyboard controller class. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00166">keyboard.h:166</a></div></div>
<div class="ttc" id="structfabgl_1_1_keyboard_layout_aa8473d36fb783abeab5c0ba240804ff8_html_aa8473d36fb783abeab5c0ba240804ff8"><div class="ttname"><a href="structfabgl_1_1_keyboard_layout_aa8473d36fb783abeab5c0ba240804ff8.html#aa8473d36fb783abeab5c0ba240804ff8">fabgl::KeyboardLayout::scancodeToVK</a></div><div class="ttdeci">VirtualKeyDef scancodeToVK[92]</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00083">keyboard.h:83</a></div></div>
<div class="ttc" id="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02_html_gad0e6e31d5953384be4ea987eb3923e02"><div class="ttname"><a href="group___enumerations_gad0e6e31d5953384be4ea987eb3923e02.html#gad0e6e31d5953384be4ea987eb3923e02">fabgl::VirtualKey</a></div><div class="ttdeci">VirtualKey</div><div class="ttdoc">Represents each possible real or derived (SHIFT + real) key. </div><div class="ttdef"><b>Definition:</b> <a href="fabutils_8h_source.html#l00951">fabutils.h:951</a></div></div>
<div class="ttc" id="structfabgl_1_1_alt_virtual_key_def_a4c56f2979393f841cffb950a90315e82_html_a4c56f2979393f841cffb950a90315e82"><div class="ttname"><a href="structfabgl_1_1_alt_virtual_key_def_a4c56f2979393f841cffb950a90315e82.html#a4c56f2979393f841cffb950a90315e82">fabgl::AltVirtualKeyDef::ctrl</a></div><div class="ttdeci">uint8_t ctrl</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00061">keyboard.h:61</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_a99a84478b09fbb13863c3ec64f7ca872_html_a99a84478b09fbb13863c3ec64f7ca872"><div class="ttname"><a href="classfabgl_1_1_keyboard_a99a84478b09fbb13863c3ec64f7ca872.html#a99a84478b09fbb13863c3ec64f7ca872">fabgl::Keyboard::setLEDs</a></div><div class="ttdeci">bool setLEDs(bool numLock, bool capsLock, bool scrollLock)</div><div class="ttdoc">Sets keyboard LEDs status. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00375">keyboard.h:375</a></div></div>
<div class="ttc" id="structfabgl_1_1_alt_virtual_key_def_a187098745ba3ac9dec616db7873d32cc_html_a187098745ba3ac9dec616db7873d32cc"><div class="ttname"><a href="structfabgl_1_1_alt_virtual_key_def_a187098745ba3ac9dec616db7873d32cc.html#a187098745ba3ac9dec616db7873d32cc">fabgl::AltVirtualKeyDef::alt</a></div><div class="ttdeci">uint8_t alt</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00062">keyboard.h:62</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_a4f1c6a36aae1c88e57c6bc7e05c772d1_html_a4f1c6a36aae1c88e57c6bc7e05c772d1"><div class="ttname"><a href="classfabgl_1_1_keyboard_a4f1c6a36aae1c88e57c6bc7e05c772d1.html#a4f1c6a36aae1c88e57c6bc7e05c772d1">fabgl::Keyboard::begin</a></div><div class="ttdeci">void begin(gpio_num_t clkGPIO, gpio_num_t dataGPIO, bool generateVirtualKeys=true, bool createVKQueue=true)</div><div class="ttdoc">Initializes Keyboard specifying CLOCK and DATA GPIOs. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8cpp_source.html#l00641">keyboard.cpp:641</a></div></div>
<div class="ttc" id="namespacefabgl_html"><div class="ttname"><a href="namespacefabgl.html">fabgl</a></div><div class="ttdef"><b>Definition:</b> <a href="canvas_8cpp_source.html#l00031">canvas.cpp:31</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_a0de31f752f76a296060bc792b51e50ba_html_a0de31f752f76a296060bc792b51e50ba"><div class="ttname"><a href="classfabgl_1_1_keyboard_a0de31f752f76a296060bc792b51e50ba.html#a0de31f752f76a296060bc792b51e50ba">fabgl::Keyboard::getNextVirtualKey</a></div><div class="ttdeci">VirtualKey getNextVirtualKey(bool *keyDown=nullptr, int timeOutMS=-1)</div><div class="ttdoc">Gets a virtual key from the queue. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8cpp_source.html#l01275">keyboard.cpp:1275</a></div></div>
<div class="ttc" id="structfabgl_1_1_alt_virtual_key_def_a1a08ee11c9ad32b8cd9edbcf2591f622_html_a1a08ee11c9ad32b8cd9edbcf2591f622"><div class="ttname"><a href="structfabgl_1_1_alt_virtual_key_def_a1a08ee11c9ad32b8cd9edbcf2591f622.html#a1a08ee11c9ad32b8cd9edbcf2591f622">fabgl::AltVirtualKeyDef::reqVirtualKey</a></div><div class="ttdeci">VirtualKey reqVirtualKey</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00059">keyboard.h:59</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_a1da2800c551ac4fa0fe2f61915a8a2da_html_a1da2800c551ac4fa0fe2f61915a8a2da"><div class="ttname"><a href="classfabgl_1_1_keyboard_a1da2800c551ac4fa0fe2f61915a8a2da.html#a1da2800c551ac4fa0fe2f61915a8a2da">fabgl::Keyboard::virtualKeyAvailable</a></div><div class="ttdeci">int virtualKeyAvailable()</div><div class="ttdoc">Gets the number of virtual keys available in the queue. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8cpp_source.html#l01290">keyboard.cpp:1290</a></div></div>
<div class="ttc" id="classfabgl_1_1_p_s2_device_html"><div class="ttname"><a href="classfabgl_1_1_p_s2_device.html">fabgl::PS2Device</a></div><div class="ttdoc">Base class for PS2 devices (like mouse or keyboard). </div><div class="ttdef"><b>Definition:</b> <a href="ps2device_8h_source.html#l00066">ps2device.h:66</a></div></div>
<div class="ttc" id="structfabgl_1_1_virtual_key_def_html"><div class="ttname"><a href="structfabgl_1_1_virtual_key_def.html">fabgl::VirtualKeyDef</a></div><div class="ttdoc">Associates scancode to virtualkey. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00049">keyboard.h:49</a></div></div>
<div class="ttc" id="fabglconf_8h_html"><div class="ttname"><a href="fabglconf_8h.html">fabglconf.h</a></div><div class="ttdoc">This file contains FabGL library configuration settings, like number of supported colors...</div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_a50910ef42a65d4c139af341f1ef2323f_html_a50910ef42a65d4c139af341f1ef2323f"><div class="ttname"><a href="classfabgl_1_1_keyboard_a50910ef42a65d4c139af341f1ef2323f.html#a50910ef42a65d4c139af341f1ef2323f">fabgl::Keyboard::reset</a></div><div class="ttdeci">bool reset()</div><div class="ttdoc">Sends a Reset command to the keyboard. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8cpp_source.html#l00651">keyboard.cpp:651</a></div></div>
<div class="ttc" id="structfabgl_1_1_alt_virtual_key_def_html"><div class="ttname"><a href="structfabgl_1_1_alt_virtual_key_def.html">fabgl::AltVirtualKeyDef</a></div><div class="ttdoc">Associates a virtualkey and various shift states (ctrl, alt, etc..) to another virtualkey. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00058">keyboard.h:58</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_ad95b6b1928e6bd2cb5b5e3fb8be11f52_html_ad95b6b1928e6bd2cb5b5e3fb8be11f52"><div class="ttname"><a href="classfabgl_1_1_keyboard_ad95b6b1928e6bd2cb5b5e3fb8be11f52.html#ad95b6b1928e6bd2cb5b5e3fb8be11f52">fabgl::Keyboard::getNextScancode</a></div><div class="ttdeci">int getNextScancode(int timeOutMS=-1, bool requestResendOnTimeOut=false)</div><div class="ttdoc">Gets a scancode from the queue. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8cpp_source.html#l00684">keyboard.cpp:684</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_a55976327987b5fa4942532e400d7480c_html_a55976327987b5fa4942532e400d7480c"><div class="ttname"><a href="classfabgl_1_1_keyboard_a55976327987b5fa4942532e400d7480c.html#a55976327987b5fa4942532e400d7480c">fabgl::Keyboard::scancodeAvailable</a></div><div class="ttdeci">int scancodeAvailable()</div><div class="ttdoc">Gets the number of scancodes available in the queue. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8cpp_source.html#l00678">keyboard.cpp:678</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_a298b50557e15073b8bca4773f118f1dc_html_a298b50557e15073b8bca4773f118f1dc"><div class="ttname"><a href="classfabgl_1_1_keyboard_a298b50557e15073b8bca4773f118f1dc.html#a298b50557e15073b8bca4773f118f1dc">fabgl::Keyboard::scancodeToVirtualKeyTaskStackSize</a></div><div class="ttdeci">static int scancodeToVirtualKeyTaskStackSize</div><div class="ttdoc">Stack size of the task that converts scancodes to Virtual Keys Keyboard. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00426">keyboard.h:426</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_af2f021a81df654389e62860afdb8f1de_html_af2f021a81df654389e62860afdb8f1de"><div class="ttname"><a href="classfabgl_1_1_keyboard_af2f021a81df654389e62860afdb8f1de.html#af2f021a81df654389e62860afdb8f1de">fabgl::Keyboard::setTypematicRateAndDelay</a></div><div class="ttdeci">bool setTypematicRateAndDelay(int repeatRateMS, int repeatDelayMS)</div><div class="ttdoc">Sets typematic rate and delay. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00398">keyboard.h:398</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_aca97a7179d5358ec795485e15618b243_html_aca97a7179d5358ec795485e15618b243"><div class="ttname"><a href="classfabgl_1_1_keyboard_aca97a7179d5358ec795485e15618b243.html#aca97a7179d5358ec795485e15618b243">fabgl::Keyboard::setLayout</a></div><div class="ttdeci">void setLayout(KeyboardLayout const *layout)</div><div class="ttdoc">Sets keyboard layout. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8cpp_source.html#l00706">keyboard.cpp:706</a></div></div>
<div class="ttc" id="structfabgl_1_1_keyboard_layout_afdd0381a636e103e33501ce7d38181e2_html_afdd0381a636e103e33501ce7d38181e2"><div class="ttname"><a href="structfabgl_1_1_keyboard_layout_afdd0381a636e103e33501ce7d38181e2.html#afdd0381a636e103e33501ce7d38181e2">fabgl::KeyboardLayout::inherited</a></div><div class="ttdeci">KeyboardLayout const  * inherited</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00082">keyboard.h:82</a></div></div>
<div class="ttc" id="structfabgl_1_1_alt_virtual_key_def_a10806c92d8876196db7e0f1899dd1bb6_html_a10806c92d8876196db7e0f1899dd1bb6"><div class="ttname"><a href="structfabgl_1_1_alt_virtual_key_def_a10806c92d8876196db7e0f1899dd1bb6.html#a10806c92d8876196db7e0f1899dd1bb6">fabgl::AltVirtualKeyDef::capslock</a></div><div class="ttdeci">uint8_t capslock</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00064">keyboard.h:64</a></div></div>
<div class="ttc" id="structfabgl_1_1_alt_virtual_key_def_a74b159be2574aac5de9359c74b60c934_html_a74b159be2574aac5de9359c74b60c934"><div class="ttname"><a href="structfabgl_1_1_alt_virtual_key_def_a74b159be2574aac5de9359c74b60c934.html#a74b159be2574aac5de9359c74b60c934">fabgl::AltVirtualKeyDef::numlock</a></div><div class="ttdeci">uint8_t numlock</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00065">keyboard.h:65</a></div></div>
<div class="ttc" id="structfabgl_1_1_virtual_key_def_aa1de7a5557e9d96b83cf03f73c92163f_html_aa1de7a5557e9d96b83cf03f73c92163f"><div class="ttname"><a href="structfabgl_1_1_virtual_key_def_aa1de7a5557e9d96b83cf03f73c92163f.html#aa1de7a5557e9d96b83cf03f73c92163f">fabgl::VirtualKeyDef::scancode</a></div><div class="ttdeci">uint8_t scancode</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00050">keyboard.h:50</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_a72e1fc9daf51d9d8057698ff3aaf5656_html_a72e1fc9daf51d9d8057698ff3aaf5656"><div class="ttname"><a href="classfabgl_1_1_keyboard_a72e1fc9daf51d9d8057698ff3aaf5656.html#a72e1fc9daf51d9d8057698ff3aaf5656">fabgl::Keyboard::suspendVirtualKeyGeneration</a></div><div class="ttdeci">void suspendVirtualKeyGeneration(bool value)</div><div class="ttdoc">Suspends or resume the virtual key generation task. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8cpp_source.html#l01254">keyboard.cpp:1254</a></div></div>
<div class="ttc" id="classfabgl_1_1_keyboard_a164361d7dc1597cd75db35c06d87e7d6_html_a164361d7dc1597cd75db35c06d87e7d6"><div class="ttname"><a href="classfabgl_1_1_keyboard_a164361d7dc1597cd75db35c06d87e7d6.html#a164361d7dc1597cd75db35c06d87e7d6">fabgl::Keyboard::getLayout</a></div><div class="ttdeci">KeyboardLayout const  * getLayout()</div><div class="ttdoc">Gets current keyboard layout. </div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00263">keyboard.h:263</a></div></div>
<div class="ttc" id="ps2device_8h_html"><div class="ttname"><a href="ps2device_8h.html">ps2device.h</a></div><div class="ttdoc">This file contains fabgl::PS2Device definition. </div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_82e8a5453e51b0b6168db3257bd0eaab.html">devdrivers</a></li><li class="navelem"><a class="el" href="keyboard_8h.html">keyboard.h</a></li>
    <li class="footer">Generated on Wed Dec 9 2020 16:48:30 for FabGL by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
